package com.hxzy.projectssmplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hxzy.projectssmplus.dto.HouseHuxingtuDTO;
import com.hxzy.projectssmplus.entity.HouseHuxingtu;
import com.hxzy.projectssmplus.vo.HouseHuxingtuVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface HouseHuxingtuMapper extends BaseMapper<HouseHuxingtu> {

    List<HouseHuxingtuVo> searchByXML(IPage iPage, HouseHuxingtuDTO houseHuxingtuDTO);

    HouseHuxingtuVo selectOne(int id);

    int insert(HouseHuxingtu houseHuxingtu);
}